package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-04-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProcessNode对象", description="")
public class ProcessNode implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "节点id")
      @TableId(value = "id")
    private int id;

    @ApiModelProperty(value = "节点名称")
    private String name;

    @ApiModelProperty(value = "流转类型 1：串行  2：并行")
    private int type;

    @ApiModelProperty(value = "办理人")
    private String user;

    @ApiModelProperty(value = "说明")
    private String remake;

    @ApiModelProperty(value = "所属流程id")
    private int pId;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "排序号")
    private Integer sortNum;

    @ApiModelProperty(value = "角色ID")
    private Integer roleId;





}
